﻿<%@ Page Language="vb" CodeBehind="EmailMembers.aspx.vb" Inherits="Secure.AdminEmailMembers1" EnableEventValidation="false" 
    ViewStateEncryptionMode="Never" AutoEventWireup="false" ValidateRequest="false" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register TagPrefix="ew" Namespace="eWorld.UI" Assembly="eWorld.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=24d65337282035f2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Email NENA Members</title>
    <link href="Styles.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
<!-- #Include File="Header.aspx" -->
			<asp:Label ID="lblTitle" Runat="server" CssClass="NenaHeading">
				Email NENA Members 
			</asp:Label>
			<hr />
	<h3>Step 1) Select Membership year to Email. </h3>
    <asp:dropdownlist id="ddlTransactionType" runat="server" >
            <asp:ListItem Value="10">2012</asp:ListItem>
            <asp:ListItem Value="9">2011</asp:ListItem>
            <asp:ListItem Value="5">2010</asp:ListItem>
            <asp:ListItem Value="4">2009</asp:ListItem>
            <asp:ListItem Value="2">2008</asp:ListItem>
        </asp:dropdownlist>
            <hr />
	<h3>Step 2) Select Affiliates that will be included in this Email. </h3>
    <asp:dropdownlist id="ddlAffiliates" runat="server" >
            <asp:ListItem Value="20">All</asp:ListItem>
            <asp:ListItem Value="1">British Columbia</asp:ListItem>
            <asp:ListItem Value="2">Alberta</asp:ListItem>
            <asp:ListItem Value="3">Saskatchewan</asp:ListItem>
            <asp:ListItem Value="4">Manitoba</asp:ListItem>
            <asp:ListItem Value="5">Ontario</asp:ListItem>
            <asp:ListItem Value="6">New Brunswick</asp:ListItem>
            <asp:ListItem Value="7">Nova Scotia</asp:ListItem>
            <asp:ListItem Value="8">PEI</asp:ListItem>
            <asp:ListItem Value="9">Newfoundland</asp:ListItem>
            <asp:ListItem Value="10">International</asp:ListItem>
            <asp:ListItem Value="11">Independent</asp:ListItem>
        </asp:dropdownlist>
            <hr />
		<h3>Step 3) Who Should the Email be From?</h3>	
        <ew:maskedtextbox id="txtFrom" runat="server" ValidationExpression="^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$"
								Validate="True" width="258px" ErrorMessage="Please Enter a Valid Email Address"></ew:maskedtextbox>	    
		    &nbsp;<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="txtFrom" ErrorMessage="From Address Required">Required</asp:requiredfieldvalidator>
		    &nbsp;<div class="NenaExampleText">example: abmembership@nena.ca</div>
		    <hr />
		<h3>Step 4) What is the Email Subject?</h3>
		    <asp:textbox id="txtSubject" runat="server"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="txtSubject" ErrorMessage="Subject Required">Required</asp:requiredfieldvalidator>
		    <div class="NenaExampleText">example: August 2009 Newsletter</div>
		    <hr />
		<h3>Step 5) Assign an Attachment (if needed):</h3>
    <font size="2">Click Browse to add an attachment, then select the file to attach.
				<br />
				It will be uploaded and emailed automatically to your email list</font>
    <br />
        <b>Attachment 1:</b>
						<input id="ofdAttachment1" type="file" size="41" name="filMyFile1" runat="server" 
		            style="width: 364px; height: 22px"  /><br />
        <b>Attachment 2:</b>
		            		<input id="ofdAttachment2" type="file" size="41" name="filMyFile2" runat="server" 
		            style="width: 364px; height: 22px"  /><br />
			<hr />
			<h3>Step 6)<b> Type a message to include with your email:</b>&nbsp;<asp:RequiredFieldValidator 
                    ID="RequiredFieldValidator3" runat="server" ControlToValidate="ftbBody" 
                    ErrorMessage="Email Message is Required">Required</asp:RequiredFieldValidator>
    </h3>
			<ftb:FreeTextBox ID="ftbBody" runat="server" ButtonSet="Office2003" />
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
    <hr />
    <asp:Button ID="btnSave" runat="server" Text="Send Email" />
    </form>
</body>
</html>
